<?php
class languages extends db_table {
	/**
	 * Language ID
	 *
	 * @var db_field
	 */
	public $lang_id;
	/**
	 * Language abbreviation
	 *
	 * @var db_field
	 */
	public $lang_abbr;
	/**
	 * Language native title
	 *
	 * @var db_field
	 */
	public $lang_title_native;
	/**
	 * Language english title
	 *
	 * @var db_field
	 */
	public $lang_title_english;
	/**
	 * Language image type
	 *
	 * @var db_field
	 */
	public $lang_img_type;
	/**
	 * Language status
	 *
	 * @var db_field
	 */
	public $lang_status;

	/**
	 * Constructor
	 *
	 * @param mixed $id
	 */
	public function __construct($id = null) {
		parent::__construct($id);
	}

	public static function img_type_jpg() {
		return "jpg";
	}

	public static function img_type_png() {
		return "png";
	}

	public static function img_type_gif() {
		return "gif";
	}

	public static function status_active() {
		return "active";
	}

	public static function status_suspended() {
		return "suspended";
	}
}
?>